/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/

#ifndef BAREOS_CONSOLE_CONNECT_TO_DIRECTOR_H_
#define BAREOS_CONSOLE_CONNECT_TO_DIRECTOR_H_

#include "include/bareos.h"
#include "lib/bstringlist.h"

class JobControlRecord;
class BareosSocket;

namespace console {
BareosSocket* ConnectToDirector(JobControlRecord& jcr,
                                utime_t heart_beat,
                                BStringList& response_args,
                                uint32_t& response_id);
} /* namespace console  */

#endif
